package org.celery.modules.merchant.service.impl;

import org.celery.modules.merchant.entity.Merchant;
import org.celery.modules.merchant.vo.MerchantVO;
import org.celery.modules.merchant.mapper.MerchantMapper;
import org.celery.modules.merchant.service.IMerchantService;
import org.springblade.core.mp.base.BaseServiceImpl;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.core.metadata.IPage;

/**
 * 商户表. 服务实现类
 *
 * @author Celery
 * @since 2021-10-30
 */
@Service
public class MerchantServiceImpl extends BaseServiceImpl<MerchantMapper, Merchant> implements IMerchantService {

	@Override
	public IPage<MerchantVO> selectMerchantPage(IPage<MerchantVO> page, MerchantVO merchant) {
		return page.setRecords(baseMapper.selectMerchantPage(page, merchant));
	}

}
